Sets the
value of i to be 1. Therefore we can describe this line
with help of the ADT notation as follows:
Perform
operation set with argument 1 on the Integer instance i. This is written
as follows: i.set(1).
The second
level is the implementation level, where an actual representation is chosen
for the operation. In C the equal sign ``='' implements
the set() operation.
MODULAR
PROGRAMMING
int i, j, k; /* Define three integers */
i = 1; /* Assign 1 to integer i */
j = 2; /* Assign 2 to integer j */
k = i + j; /* Assign the sum of i and j to k */